﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" 
Inherits="System.Web.Mvc.ViewPage<System.Collections.Generic.List<CarBooker.Models.SecondCar>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	SecondCar
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>SecondCar</h2>
    <div>
       <%foreach (CarBooker.Models.SecondCar car in Model)
      {%>  
            <div>
                <%= Html.Encode(car.Count()) %> 
            </div>
    <%} %>
    </div> 
 

</asp:Content>
